module.exports = {
    head: [
        ['link', { rel: 'icon', href: '/assets/img/logo.png' }],
    ],
    locales: {
        '/': {
            lang: 'zh-CN',
            title: 'Java 学习笔记',
            description: 'Java 学习笔记',
        }
    },
    markdown: {
        lineNumbers: true
    },
    base: '/java-study-note/',
    themeConfig: {
        sidebarDepth: 1,
        nav: [
            { text: '首页', link: '/' },
            { text: 'SpringBoot', link: '/spring-boot/' },
            { text: 'SpringCloud', link: '/spring-cloud/' },
            { text: 'Mybatis-Plus', link: '/mybatis-plus/' },
            { text: 'Redis', link: '/redis/' },
            { text: 'Nacos', link: '/nacos/' },
            { text: 'Gitee', link: 'https://gitee.com/genghan', target: '_blank' }
        ],
        sidebar: {
            "/spring-boot/": require('../spring-boot/sidebar.js'),
            "/spring-cloud/": require('../spring-cloud/sidebar.js'),
            "/mybatis-plus/": require('../mybatis-plus/sidebar.js'),
            "/redis/": require('../redis/sidebar.js'),
            "/nacos/": require('../nacos/sidebar.js')
        }
    }
}
